/**
 * Copyright (C), 2020-2020, 人生无限公司
 * FileName: Test3
 * Description:
 *
 * @create: 2020/7/15 9:49
 * @author Reanon
 * @version JDK 1.8.0_251
 */
package cn.reanon.day05.homework.test3;

public class Test3 {
    public static void main(String[] args) {
        MyDate date = new MyDate("1900", "1", "1");
        date.showDate();
        if (date.isLeapYear()) {
            System.out.printf(date.getYear() + "是闰年");
        } else {
            System.out.printf(date.getYear() + "不是闰年");
        }

    }
}
